package edu.sctu.xialei.june.day20150628one;

/**
 * Created by Administrator on 2015/6/28.
 */
public class Printer {

    public void print(JsonAppBean jsonAppBean){

        System.out.println(jsonAppBean.name);
        System.out.println(jsonAppBean.sex);
        System.out.println(jsonAppBean.color);
        System.out.println(jsonAppBean.age);
        System.out.println(jsonAppBean.height);
        System.out.println(jsonAppBean.weight);

        for (int i = 0; i < jsonAppBean.course.length; i++) {
            System.out.println(jsonAppBean.course[i].name2);
            System.out.println(jsonAppBean.course[i].pages);
            System.out.println(jsonAppBean.course[i].price);
        }
    }
}
